package com.biz.primus.model.promotion.vo.resp;

import com.biz.primus.base.vo.PromotionBasicInfoVo;
import com.biz.primus.model.promotion.enums.PromotionStatusEnum;
import com.biz.primus.model.promotion.vo.SeckillProductVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Collections;
import java.util.List;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 秒杀活动返回Vo
 *
 * @author david-liu
 */
@Getter
@Setter
@ApiModel(value = "秒杀活动返回Vo")
public class SeckillPromotionRespVo extends PromotionBasicInfoVo {
    private static final long serialVersionUID = 7859344627154717117L;

    @ApiModelProperty(value = "活动日期")
    private String promotionDate;

    @ApiModelProperty(value = "活动开始时间点")
    private String startTimePoint;

    @ApiModelProperty(value = "活动结束时间点")
    private String endTimePoint;

    @ApiModelProperty(value = "活动状态")
    private PromotionStatusEnum status;

    @ApiModelProperty(value = "秒杀商品详情")
    private List<SeckillProductVo> seckillProducts = Collections.emptyList();

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE);
    }
}
